package org.jeecg.modules.nurse_user.service.impl;

import org.jeecg.modules.nurse_user.entity.NurseUserAddr;
import org.jeecg.modules.nurse_user.mapper.NurseUserAddrMapper;
import org.jeecg.modules.nurse_user.service.INurseUserAddrService;
import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 用户地址
 * @Author: jeecg-boot
 * @Date: 2024-06-09
 * @Version: V1.0
 */
@Service
public class NurseUserAddrServiceImpl extends ServiceImpl<NurseUserAddrMapper, NurseUserAddr> implements INurseUserAddrService {

    @Autowired
    private NurseUserAddrMapper nurseUserAddrMapper;

    @Override
    public List<NurseUserAddr> selectByMainId(String mainId) {
        return nurseUserAddrMapper.selectByMainId(mainId);
    }

    @Override
    public NurseUserAddr selectById(String id) { return nurseUserAddrMapper.selectById(id); }
}
